package com.ly.gof.structure.facade;

/**
 * @author liuyang
 * @des
 * @Version 1.0
 * @Date: 26/07/2021 11:08
 */
public class Facade2 implements AbstractFacade {

    private SubSystem01 obj1 = new SubSystem01();
    private SubSystem03 obj3 = new SubSystem03();

    @Override
    public void method1() {
        obj1.method1();
    }

    @Override
    public void method2() {
        obj1.method1();
        obj3.method3();
    }
}
